﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmTarjetaPlacasRecepcion.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmTarjetaPlacasRecepcion" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">

 <div class="main-header" style="width:100%">
                <div class="main-titulo" style="width:87%;">
                Recepción de tarjeta y placas
                    </div>
               
               
            </div>

            <asp:UpdatePanel runat="server">
                <ContentTemplate>
            
            
        


            <table>
            <tr>
            <td>
                <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" 
                    AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnGrabar_Click">
                    <Image Url="~/Images/save_16.gif">
                    </Image>
                </dx:ASPxButton>
            
            </td>
            <td>
                <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                    AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnSalir_Click">
                    <Image Url="~/Images/logout.png">
                    </Image>
                </dx:ASPxButton>
            
            </td>
            </tr>
            
            </table>
            <div class="content-form">
                <dx:ASPxRoundPanel ID="RPrecepcionTarjetaPlacas" runat="server" Width="100%" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                    GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                        PaddingTop="10px" />
                    <HeaderStyle>
                    <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                        PaddingTop="3px" />
                    </HeaderStyle>
                    <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">


<table>
<tr>
<td>

    Cliente:</td>
<td>

    <dx:ASPxLabel ID="lblDesCliente" runat="server" BackColor="White" Width="200px">
    </dx:ASPxLabel>

</td>
<td>

    &nbsp;</td>
<td>
    &nbsp;</td>
</tr>
    <tr>
        <td>
            Nro.factura:
        </td>
        <td>
            <dx:ASPxLabel ID="lblNroFactura" runat="server" Width="200px" BackColor="White" 
                ForeColor="Black">
            </dx:ASPxLabel>
        </td>
        <td>
            Documento:
        </td>
        <td>
            <dx:ASPxLabel ID="lblDocumento" runat="server" Width="200px" BackColor="White">
            </dx:ASPxLabel>
        </td>
    </tr>
<tr>
<td>
Modelo:

</td>
<td>

    <dx:ASPxLabel ID="lblModelo" runat="server" Text="" Width="200px" 
        BackColor="White">
    </dx:ASPxLabel>

</td>
<td>
Chasis:
</td>

<td>

    <dx:ASPxLabel ID="lblChasis" runat="server" Text="" Width="200px" 
        BackColor="White">
    </dx:ASPxLabel>

</td>


</tr>
    <tr>
        <td>
            <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Fecha recepción tarjeta:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxDateEdit ID="dtFechaEntregaTarjeta" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Spacing="0" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="200px" Height="30px">
                <CalendarProperties>
                    <HeaderStyle Spacing="1px" />
                </CalendarProperties>
                <DropDownButton Width="20px">
                </DropDownButton>
                <Paddings PaddingLeft="5px" />
            </dx:ASPxDateEdit>
        </td>
        <td>
            <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Fecha recepción placa:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxDateEdit ID="dtFechaEntregaPlaca" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Spacing="0" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="200px" Height="30px">
                <CalendarProperties>
                    <HeaderStyle Spacing="1px" />
                </CalendarProperties>
                <DropDownButton Width="20px">
                </DropDownButton>
                <Paddings PaddingLeft="5px" />
            </dx:ASPxDateEdit>
        </td>
    </tr>
    <tr>
        <td>
            <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Nro.placa:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxTextBox ID="txtNumeroPlaca" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="200px" Height="30px">
                <Paddings PaddingLeft="5px" />
            </dx:ASPxTextBox>
        </td>
        <td>
            <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Nro.título:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxTextBox ID="txtNumeroTitulo" runat="server" Width="200px" Height="30px" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
            </dx:ASPxTextBox>
        </td>
    </tr>

    <tr>
        <td>
            <dx:ASPxLabel ID="lblIdTarjetaPlacaCab" runat="server" ClientVisible="False">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxLabel ID="lblIdTarjetaPlacaDet" runat="server" ClientVisible="False">
            </dx:ASPxLabel>
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>

</table>





<table style="width:100%;">
<tr>

<td>

    <dx:ASPxGridView ID="grdListaTarjetaPlacas" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Width="100%" AutoGenerateColumns="False" 
        EnableCallBacks="False" KeyFieldName="NRO_FACTURA" 
        OnFocusedRowChanged="grdListaTarjetaPlacas_FocusedRowChanged" 
        OnAfterPerformCallback="grdListaTarjetaPlacas_AfterPerformCallback">
                <Columns>
                    <dx:GridViewDataTextColumn Caption="Nro.factura" FieldName="NRO_FACTURA" 
                        ShowInCustomizationForm="True" VisibleIndex="0">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Documento" ShowInCustomizationForm="True" 
                        VisibleIndex="1" FieldName="NRO_FOLIO">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Fec.factura" ShowInCustomizationForm="True" 
                        VisibleIndex="2" FieldName="FEC_FACTURA" UnboundType="DateTime">

                           <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>

                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Modelo" FieldName="DES_MODELO" 
                        ShowInCustomizationForm="True" VisibleIndex="3">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Chasis" FieldName="NRO_VIN" 
                        ShowInCustomizationForm="True" VisibleIndex="4">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Motor" FieldName="NRO_MOTOR" 
                        ShowInCustomizationForm="True" VisibleIndex="5">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="ID_TRAMITADOR" 
                        ShowInCustomizationForm="True" VisibleIndex="6" Visible="False">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Fec.inicio trámite" 
                        FieldName="FEC_INICIO_TRAMITE" ShowInCustomizationForm="True" 
                        VisibleIndex="9" UnboundType="DateTime">
                           <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>


                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="ID_TARJETA_PLACA_DET" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="16" 
                        UnboundType="DateTime">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="ID_TARJETA_PLACA_CAB" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="8">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Tramitador" FieldName="DES_CORTA" 
                        ShowInCustomizationForm="True" VisibleIndex="7">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="FEC_RECEPCION_TARJETA" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="14">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="FEC_RECEPCION_PLACA" 
                        ShowInCustomizationForm="True" Visible="False" VisibleIndex="15">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="NRO_PLACA" ShowInCustomizationForm="True" 
                        VisibleIndex="10" Caption="Nro.placa">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="NRO_TITULO" 
                        ShowInCustomizationForm="True" VisibleIndex="11" Caption="Nro.título">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="N° Pedido" FieldName="NRO_PEDIDO_SAP" 
                        ShowInCustomizationForm="True" VisibleIndex="12">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="N° Caja" FieldName="NRO_CAJA" 
                        ShowInCustomizationForm="True" VisibleIndex="13">
                    </dx:GridViewDataTextColumn>
                </Columns>
                <SettingsBehavior AllowFocusedRow="True" 
                    ProcessFocusedRowChangedOnServer="True" AllowDragDrop="False" 
                    AllowGroup="False" AllowSort="False" />
                <SettingsPager PageSize="20">
                </SettingsPager>
                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanelOnStatusBar>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </Images>
                <ImagesFilterControl>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </ImagesFilterControl>
                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue">
                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                    </Header>
                    <LoadingPanel ImageSpacing="5px">
                    </LoadingPanel>
                </Styles>
                <StylesPager>
                    <PageNumber ForeColor="#3E4846">
                    </PageNumber>
                    <Summary ForeColor="#1E395B">
                    </Summary>
                </StylesPager>
                <StylesEditors ButtonEditCellSpacing="0">
                </StylesEditors>
                </dx:ASPxGridView>

</td>

</tr>

</table>



                        </dx:PanelContent>
</PanelCollection>
                </dx:ASPxRoundPanel>
            






        






            <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupmsj" CloseAction="None" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                   Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="7px"></Paddings>
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="Panelpopup" runat="server">
                        <table align="center">
                        <tr>
                        <td colspan="2">
                        
                            <dx:ASPxLabel ID="lblmsj" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue">
                            </dx:ASPxLabel>
                        
                        
                        
                        </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        
                        </table>
                        <table align="center">
                        <tr>
                        <td align="center" style="width: 215px">
                        
                            <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
<ClientSideEvents Click="function(s, e) {
	popupmsj.Hide();
}"/>
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        </table>
                            


                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>







            </div>


                </ContentTemplate>
            </asp:UpdatePanel>

</asp:Content>
